package com.itheima.mapper;

import com.itheima.pojo.Goods;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface GoodsMapper extends Mapper<Goods> {
    @Update("update tb_goods set name = #{name}, price = #{price}, num = #{num}, brand = #{brand}, category = #{category}, caption = #{caption} where id = #{id}")
    Integer updateGoods(Goods goods);
}
